using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._BusinessAnalystTools._TargetMarketing
{
    /// <summary>
    /// <para>Generate Market Area Segmentation Profile</para>
    /// <para>Creates a segmentation profile by summarizing segments from standard geography boundaries within the input area.</para>
    /// <para>通过汇总输入区域内标准地理边界的区段来创建分段配置文件。</para>
    /// </summary>    
    [DisplayName("Generate Market Area Segmentation Profile")]
    public class GenerateMarketAreaProfile : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public GenerateMarketAreaProfile()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_features">
        /// <para>Input features</para>
        /// <para>The input feature class with polygon features used to create a segmentation area profile.</para>
        /// <para>具有用于创建分割区域剖面轮廓的面要素的输入要素类。</para>
        /// </param>
        /// <param name="_segmentation_base">
        /// <para>Segmentation Base</para>
        /// <para>The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use.</para>
        /// <para>要创建的配置文件的分段基础。可用选项由正在使用的分段数据集提供。</para>
        /// </param>
        /// <param name="_out_profile">
        /// <para>Output Profile</para>
        /// <para>The name of the segmentation profile file to be created.</para>
        /// <para>要创建的分段配置文件的名称。</para>
        /// </param>
        public GenerateMarketAreaProfile(object _in_features, object _segmentation_base, object _out_profile)
        {
            this._in_features = _in_features;
            this._segmentation_base = _segmentation_base;
            this._out_profile = _out_profile;
        }
        public override string ToolboxName => "Business Analyst Tools";

        public override string ToolName => "Generate Market Area Segmentation Profile";

        public override string CallName => "ba.GenerateMarketAreaProfile";

        public override List<string> AcceptEnvironments => ["baDataSource", "workspace"];

        public override object[] ParameterInfo => [_in_features, _segmentation_base, _out_profile];

        /// <summary>
        /// <para>Input features</para>
        /// <para>The input feature class with polygon features used to create a segmentation area profile.</para>
        /// <para>具有用于创建分割区域剖面轮廓的面要素的输入要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_features { get; set; }


        /// <summary>
        /// <para>Segmentation Base</para>
        /// <para>The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use.</para>
        /// <para>要创建的配置文件的分段基础。可用选项由正在使用的分段数据集提供。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Segmentation Base")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _segmentation_base { get; set; }


        /// <summary>
        /// <para>Output Profile</para>
        /// <para>The name of the segmentation profile file to be created.</para>
        /// <para>要创建的分段配置文件的名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Profile")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_profile { get; set; }


        public GenerateMarketAreaProfile SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}